﻿CREATE FUNCTION [dbo].[fn_TablesToIgnore] ()
RETURNS @Tables TABLE (TableName sysname)
AS
BEGIN
	INSERT INTO @Tables (TableName) VALUES ('dtproperties')
	INSERT INTO @Tables (TableName) VALUES ('messagelog')
	INSERT INTO @Tables (TableName) VALUES ('audit')
	INSERT INTO @Tables (TableName) VALUES ('createspscripttable')
	INSERT INTO @Tables (TableName) VALUES ('accesshistory')
	INSERT INTO @Tables (TableName) VALUES ('sysdiagrams')
	
	RETURN
END